package com.lqh.studyproject.springbootdemo.service;

import com.lqh.studyproject.springbootdemo.api.PersonService;
import org.springframework.stereotype.Service;

/**
 * @ClassName TeacherServiceImpl
 * @Description studyproject
 * @Author bgy-lqh
 * @Date 2020/6/29 16:57
 * @Version 定义另一个接口实现
 **/
@Service(value = "teacherService")
public class TeacherServiceImpl implements PersonService {
    @Override
    public String hello(String name) {
        return "[teacher service] hello " + name;
    }
}